package HomeWork;
public class Mycale {
    private int n1;
    private int n2;

    public Mycale(int n1,int n2){
        this.n1=n1;
        this.n2=n2;
    }
    public int addition(){
        return n1+n2;
    }
    public int subtration(){
        return n1-n2;
    }
    public int multiplication(){
        return n1*n2;
    }
    public int division(){
        return n1/n2;
    }
    public static void main(String[] args) {
        Mycale mycale=new Mycale(4,2);
        System.out.println(mycale.addition());
        System.out.println(mycale.subtration());
        System.out.println(mycale.multiplication());
        System.out.println(mycale.division());

    }
}
